package com.k.frame.boot.boot.service.feign;


import com.k.frame.boot.boot.service.model.ServiceModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(value = "order-service" ,url = "http://order-service")
public interface OrderClient {
    @RequestMapping(value = "/order")
    ServiceModel order();
}